package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.VesselOffHireMaintenanceRespDto;
import com.cmc.cloud.cmclink.doc.entity.VesselOffHireMaintenanceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 整船禁接属性转换
 *
 * @author lzp
 */
@Mapper
public interface VesselOffHireMaintenanceConvert {
    VesselOffHireMaintenanceConvert INSTANCE = Mappers.getMapper(VesselOffHireMaintenanceConvert.class);

    /**
     * 属性转换
     *
     * @param vesselOffHireMaintenanceDOList
     * @return
     */
    List<VesselOffHireMaintenanceRespDto> convert(List<VesselOffHireMaintenanceDO> vesselOffHireMaintenanceDOList);
}
